<?php
require_once 'db_conn.php';
header("content-type:text/html;charset=utf-8");
$id = $_POST['id'];
$id = intval($id);
$imgurl = $_POST['imgurl'];
$title = $_POST['title'];
$txt = $_POST['txt'];
$linkurl = $_POST['linkurl'];

$sql = "
UPDATE  `db_sente`.`tb_new` 
SET
`Imgurl` = '$Imgurl' ,
`title`=`title`,
`txt` = '$txt' ,
`isshow` = '1' ,
WHERE `tb_new`.`id` = $id;
 ";

$result = $conn->query($sql);
//print_r($result);
header("location:info.php");
